// Copyright 2011 Jim Xochellis
// Licensed under the Apache License, Version 2.0 
// (http://www.apache.org/licenses/LICENSE-2.0)
 
#ifndef __PROF_CONFIG_H__
#define __PROF_CONFIG_H__

#ifndef PROF_ENABLE_MOVE_SEMANTICS

#if defined(_MSC_VER)

#if (_MSC_VER >= 1600)
#define PROF_ENABLE_MOVE_SEMANTICS 1
#else
#define PROF_ENABLE_MOVE_SEMANTICS 0
#endif

#elif defined(__GNUC__)

#if (__GNUC__ >= 4) && (__GNUC_MINOR__ >=  5)
#define PROF_ENABLE_MOVE_SEMANTICS 1
#else
#define PROF_ENABLE_MOVE_SEMANTICS 0
#endif

#endif

#endif //#ifndef PROF_ENABLE_MOVE_SEMANTICS

#endif //__PROF_CONFIG_H__
